package tech.aistar.pojo;
import java.io.Serializable;

public class Result implements Serializable {
    private String code;
    private String msg;
    private Object content;
    public Result() {
    }

    public Result(String code, String msg, Object content) {
        this.code = code;
        this.msg=msg;
        this.content = content;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }
    @Override
    public String toString(){
        final StringBuilder sb = new StringBuilder("Result{");
        sb.append("code='").append(code).append('\'');
        sb.append(", msg='").append(msg).append('\'');
        sb.append(", content=").append(content);
        sb.append('}');
        return sb.toString();
    }
}
